package com.jt.demo;

import org.springframework.stereotype.Component;

@Component
public class User {
    public static void say(){
        System.out.println("通过@Component注解实例化对象");
    }
}
